<?php
    $this->load->helper("url");
?>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <title> FreeBase Simple Tester </title>
    <link href="<?php echo base_url()."public/css/bootstrap.css"; ?>" rel="stylesheet">
    <link href="<?php echo base_url()."public/css/test-template.css"; ?>" rel="stylesheet">

    <script src="<?php echo base_url()."public/js/jquery.min.js"; ?>"></script>
    <script src="<?php echo base_url()."public/js/bootstrap.min.js"; ?>"></script>
</head>
<body>

    <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#"> FreeBase Simple Tester </a>
        </div>
      
        <div class="collapse navbar-collapse">
          <ul class="nav navbar-nav">
            <li <?php if (strcmp($current, "index") == 0) echo "class='active'"; ?> > <a href="<?php echo base_url(); ?>"> Tester </a></li>
            <li <?php if (strcmp($current, "version") == 0) echo "class='active'"; ?> > <a href="<?php echo site_url("/test/version"); ?>"> Version </a></li>
            <li <?php if (strcmp($current, "summary") == 0) echo "class='active'"; ?> ><a href="<?php echo site_url("/test/summary"); ?>"> Summary </a></li>
          </ul>
        </div><!--/.nav-collapse -->
      </div>
    </div>